package kunsch.bexp;

import java.io.Serializable;
import java.util.List;

public class BooleanFunction implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	Variable out;
	private Expression in;

	private List<Variable> variables;
	
	public BooleanFunction(Variable out, Expression in, List<Variable> variables)
	{
		this.variables = variables;
		this.out = out;
		this.setIn(in);
	}

	@Override
	public String toString()
	{
		return out + " = " + getIn();
	}

	public Expression getIn()
	{
		return in;
	}

	public void setIn(Expression in)
	{
		this.in = in;
	}

	public List<Variable> getVariables()
	{
		return variables;
	}
}
